﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">

	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="Brushes.xaml"/>
		<ResourceDictionary Source="Fonts.xaml"/>
	</ResourceDictionary.MergedDictionaries>

	<!-- ******MAIN PAGE STYLES****** -->
	<!-- **************************** -->

	<Style x:Key="LayoutRootGridStyle" TargetType="Grid">
	</Style>

	<Style x:Key="NavigationGridStyle" TargetType="Grid">
		<Setter Property="Margin" Value="10,10,0,0"/>
		<Setter Property="VerticalAlignment" Value="Stretch"/>
	</Style>

	<Style x:Key="BrandingBorderStyle" TargetType="Border">
		<Setter Property="Height" Value="Auto"/>
		<Setter Property="Margin" Value="62,0,20,10"/>
		<Setter Property="VerticalAlignment" Value="Top"/>
		<Setter Property="HorizontalAlignment" Value="Stretch"/>
	</Style>

	<Style x:Key="BrandingStackPanelStyle" TargetType="DockPanel">
		<Setter Property="Margin" Value="0,10,0,0" />
	</Style>

	<Style x:Key="LogoIcon" TargetType="Image">
		<Setter Property="Height" Value="30"/>
		<Setter Property="Width" Value="16"/>
		<Setter Property="Margin" Value="0,5,0,0"/>
		<Setter Property="VerticalAlignment" Value="Top" />
		<Setter Property="HorizontalAlignment" Value="Left" />
		<!--Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ContentControl">
					<Grid>
						<Rectangle Fill="{StaticResource HighlightBrush}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter-->
	</Style>

	<Style x:Key="ApplicationNameStyle" TargetType="TextBlock">
		<Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontFamily" Value="{StaticResource ApplicationFontFamily}"/>
		<Setter Property="FontSize" Value="16"/>
        <Setter Property="FontWeight" Value="Bold" />
		
		<Setter Property="Margin" Value="0,0,0,0"/>
		<Setter Property="VerticalAlignment" Value="Center"/>
		<Setter Property="HorizontalAlignment" Value="Center"/>
	</Style>

	<Style x:Key="HeaderTextStyle" TargetType="TextBlock">
		<Setter Property="Foreground" Value="Black"/>
		<Setter Property="FontFamily" Value="{StaticResource HeaderFontFamily}"/>
		<Setter Property="FontSize" Value="{StaticResource HeaderFontSize}"/>
		<Setter Property="TextOptions.TextHintingMode" Value="Animated" />
		<Setter Property="TextWrapping" Value="Wrap"/>
		<Setter Property="Margin" Value="0,15,0,4"/>
		<Setter Property="HorizontalAlignment" Value="Left"/>
	</Style>

	<Style x:Key="LinksBorderStyle" TargetType="Border">
		<Setter Property="Height" Value="82"/>
		<Setter Property="Margin" Value="0,156,25,0"/>
		<Setter Property="HorizontalAlignment" Value="Left"/>
		<Setter Property="VerticalAlignment" Value="Top" />
		<Setter Property="BorderBrush" Value="{StaticResource HighlightBrush}"/>
		<Setter Property="BorderThickness" Value="30,0,0,0"/>
	</Style>

	<Style x:Key="LinksStackPanelStyle" TargetType="StackPanel">
		<Setter Property="VerticalAlignment" Value="Top"/>
		<Setter Property="HorizontalAlignment" Value="Left"/>
		<Setter Property="Orientation" Value="Horizontal"/>
		<Setter Property="Margin" Value="65,0,0,0"/>
    </Style>


	<Style x:Key="ContentBorderStyle" TargetType="Border">
		<Setter Property="Background" Value="{StaticResource WhiteColorBrush}"/>
		<Setter Property="BorderBrush" Value="{StaticResource PageBorderBrush}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Margin" Value="10"/>
		<Setter Property="VerticalAlignment" Value="Stretch"/>
		<Setter Property="HorizontalAlignment" Value="Stretch"/>

		<Setter Property="Effect">
			<Setter.Value>
				<DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="DividerStyle" TargetType="Rectangle">
		<Setter Property="Visibility" Value="Collapsed"/>
	</Style>

	<!-- **STYLE UPDATES FOR NAV TEMPLATE** -->
	<!-- ********************************** -->
	<Style x:Key="NavContentBorderStyle" TargetType="Border">
		<Setter Property="Margin" Value="45,-42,0,0" />
		<Setter Property="Grid.Row" Value="2" />
	</Style>

	<Style x:Key="NavBrandingBorderStyle" TargetType="Border">
		<Setter Property="Margin" Value="62,0,10,10"/>
	</Style>

	<Style x:Key="NavLinksBorderStyle" TargetType="Border" BasedOn="{StaticResource LinksBorderStyle}">
		<Setter Property="Margin" Value="0,0,10,0" />
		<Setter Property="Grid.Row" Value="1" />
	</Style>

	<!-- ******CONTENT PAGE STYLES****** -->
	<!-- ******************************* -->

	<Style x:Key="ContentPanelStyle" TargetType="StackPanel"/>

	<Style x:Key="ContentTextStyle" TargetType="TextBlock">
		<Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
		<Setter Property="FontFamily" Value="{StaticResource HeaderFontFamily}"/>
		<Setter Property="FontSize" Value="{StaticResource ContentFontSize}"/>
		<Setter Property="TextWrapping" Value="Wrap"/>
		<Setter Property="Margin" Value="0,2,0,2"/>
		<Setter Property="HorizontalAlignment" Value="Left"/>
		<Setter Property="TextOptions.TextHintingMode" Value="Animated" />
	</Style>

</ResourceDictionary>